package com.bjx.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bjx.flow.domain.entity.FlowInstanceEntity;
import com.bjx.flow.domain.query.FlowInstanceQuery;
import com.bjx.flow.domain.vo.FlowInstanceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @desc: 流程实例Mapper
 * @author: liushuai
 * @date: 2022/12/28
 */
@Mapper
public interface FlowInstanceMapper extends BaseMapper<FlowInstanceEntity> {
    /**
     * 分页查询用户流程实例待办
     * @param page
     * @param flowInstanceQuery
     * @return: IPage<FlowInstanceVO>
     * @Author: liushuai
     * @Date: 2022/12/28
     */
    IPage<FlowInstanceVO> listFlowInstancePage(Page page,@Param("query") FlowInstanceQuery flowInstanceQuery);
}
